
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>配置选项 · GitCode Issue Feedback 演示</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        <meta name="author" content="nutpi">
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="examples.html" />
    
    
    <link rel="prev" href="features.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    介绍
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="features.html">
            
                <a href="features.html">
            
                    
                    功能特性
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.3" data-path="configuration.html">
            
                <a href="configuration.html">
            
                    
                    配置选项
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="examples.html">
            
                <a href="examples.html">
            
                    
                    使用示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="faq.html">
            
                <a href="faq.html">
            
                    
                    常见问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="changelog.html">
            
                <a href="changelog.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >配置选项</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x914D;&#x7F6E;&#x9009;&#x9879;">&#x914D;&#x7F6E;&#x9009;&#x9879;</h1>
<h2 id="&#x57FA;&#x7840;&#x914D;&#x7F6E;">&#x57FA;&#x7840;&#x914D;&#x7F6E;</h2>
<h3 id="&#x5FC5;&#x9700;&#x914D;&#x7F6E;">&#x5FC5;&#x9700;&#x914D;&#x7F6E;</h3>
<h4 id="repo-string"><code>repo</code> (string)</h4>
<p>GitCode &#x4ED3;&#x5E93;&#x8DEF;&#x5F84;&#xFF0C;&#x683C;&#x5F0F;&#x4E3A; <code>owner/name</code></p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/your-repo&quot;</span>
        }
    }
}
</code></pre>
<h3 id="&#x53EF;&#x9009;&#x914D;&#x7F6E;">&#x53EF;&#x9009;&#x914D;&#x7F6E;</h3>
<h4 id="label-string"><code>label</code> (string)</h4>
<p>&#x6309;&#x94AE;&#x663E;&#x793A;&#x7684;&#x6587;&#x5B57;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A; <code>&quot;Bug Report&quot;</code></p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/your-repo&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;&#x62A5;&#x544A;&#x95EE;&#x9898;&quot;</span>
        }
    }
}
</code></pre>
<h4 id="private-boolean"><code>private</code> (boolean)</h4>
<p>&#x662F;&#x5426;&#x4E3A;&#x79C1;&#x6709;&#x4ED3;&#x5E93;&#xFF0C;&#x9ED8;&#x8BA4;&#x4E3A; <code>false</code></p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/private-repo&quot;</span>,
            <span class="hljs-string">&quot;private&quot;</span>: <span class="hljs-literal">true</span>
        }
    }
}
</code></pre>
<h2 id="&#x9AD8;&#x7EA7;&#x914D;&#x7F6E;">&#x9AD8;&#x7EA7;&#x914D;&#x7F6E;</h2>
<h3 id="newissueurl-string"><code>newIssueURL</code> (string)</h3>
<p>&#x81EA;&#x5B9A;&#x4E49;&#x65B0;&#x5EFA;&#x95EE;&#x9898;&#x7684; URL</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/your-repo&quot;</span>,
            <span class="hljs-string">&quot;newIssueURL&quot;</span>: <span class="hljs-string">&quot;https://gitcode.com/your-org/your-repo/issues/new&quot;</span>
        }
    }
}
</code></pre>
<h3 id="markdownbaseurl-string"><code>markdownBaseURL</code> (string)</h3>
<p>&#x8D44;&#x6E90;&#x6587;&#x4EF6;&#x7684;&#x57FA;&#x7840; URL</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/your-repo&quot;</span>,
            <span class="hljs-string">&quot;markdownBaseURL&quot;</span>: <span class="hljs-string">&quot;https://gitcode.com/your-org/your-repo/blob/master/&quot;</span>
        }
    }
}
</code></pre>
<h3 id="gitcodeapibaseurl-string"><code>gitcodeAPIBaseURL</code> (string)</h3>
<p>GitCode API &#x7684;&#x57FA;&#x7840; URL</p>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;your-org/your-repo&quot;</span>,
            <span class="hljs-string">&quot;gitcodeAPIBaseURL&quot;</span>: <span class="hljs-string">&quot;https://api.gitcode.com/repos/your-org/your-repo/contents/&quot;</span>
        }
    }
}
</code></pre>
<h2 id="&#x5B8C;&#x6574;&#x914D;&#x7F6E;&#x793A;&#x4F8B;">&#x5B8C;&#x6574;&#x914D;&#x7F6E;&#x793A;&#x4F8B;</h2>
<h3 id="&#x57FA;&#x7840;&#x914D;&#x7F6E;">&#x57FA;&#x7840;&#x914D;&#x7F6E;</h3>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;gitbook&quot;</span>: <span class="hljs-string">&quot;&gt;=3.0.0&quot;</span>,
    <span class="hljs-string">&quot;title&quot;</span>: <span class="hljs-string">&quot;&#x6211;&#x7684;&#x6587;&#x6863;&quot;</span>,
    <span class="hljs-string">&quot;plugins&quot;</span>: [
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>
    ],
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;my-org/my-docs&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;&#x53CD;&#x9988;&#x95EE;&#x9898;&quot;</span>
        }
    }
}
</code></pre>
<h3 id="&#x79C1;&#x6709;&#x4ED3;&#x5E93;&#x914D;&#x7F6E;">&#x79C1;&#x6709;&#x4ED3;&#x5E93;&#x914D;&#x7F6E;</h3>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;gitbook&quot;</span>: <span class="hljs-string">&quot;&gt;=3.0.0&quot;</span>,
    <span class="hljs-string">&quot;title&quot;</span>: <span class="hljs-string">&quot;&#x79C1;&#x6709;&#x6587;&#x6863;&quot;</span>,
    <span class="hljs-string">&quot;plugins&quot;</span>: [
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>
    ],
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;my-org/private-docs&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;&#x5185;&#x90E8;&#x53CD;&#x9988;&quot;</span>,
            <span class="hljs-string">&quot;private&quot;</span>: <span class="hljs-literal">true</span>
        }
    }
}
</code></pre>
<h3 id="&#x81EA;&#x5B9A;&#x4E49;-url-&#x914D;&#x7F6E;">&#x81EA;&#x5B9A;&#x4E49; URL &#x914D;&#x7F6E;</h3>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;gitbook&quot;</span>: <span class="hljs-string">&quot;&gt;=3.0.0&quot;</span>,
    <span class="hljs-string">&quot;title&quot;</span>: <span class="hljs-string">&quot;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;&#x6587;&#x6863;&quot;</span>,
    <span class="hljs-string">&quot;plugins&quot;</span>: [
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>
    ],
    <span class="hljs-string">&quot;pluginsConfig&quot;</span>: {
        <span class="hljs-string">&quot;gitcode-issue-feedback&quot;</span>: {
            <span class="hljs-string">&quot;repo&quot;</span>: <span class="hljs-string">&quot;my-org/my-docs&quot;</span>,
            <span class="hljs-string">&quot;label&quot;</span>: <span class="hljs-string">&quot;&#x62A5;&#x544A;&#x95EE;&#x9898;&quot;</span>,
            <span class="hljs-string">&quot;newIssueURL&quot;</span>: <span class="hljs-string">&quot;https://gitcode.com/my-org/my-docs/issues/new&quot;</span>,
            <span class="hljs-string">&quot;markdownBaseURL&quot;</span>: <span class="hljs-string">&quot;https://gitcode.com/my-org/my-docs/blob/main/&quot;</span>,
            <span class="hljs-string">&quot;gitcodeAPIBaseURL&quot;</span>: <span class="hljs-string">&quot;https://api.gitcode.com/repos/my-org/my-docs/contents/&quot;</span>
        }
    }
}
</code></pre>
<h2 id="&#x6837;&#x5F0F;&#x81EA;&#x5B9A;&#x4E49;">&#x6837;&#x5F0F;&#x81EA;&#x5B9A;&#x4E49;</h2>
<p>&#x60A8;&#x53EF;&#x4EE5;&#x901A;&#x8FC7; CSS &#x81EA;&#x5B9A;&#x4E49;&#x6309;&#x94AE;&#x6837;&#x5F0F;&#xFF1A;</p>
<pre><code class="lang-css"><span class="hljs-selector-class">.gitbook-plugin-gitcode-issue-feedback</span> {
    <span class="hljs-comment">/* &#x81EA;&#x5B9A;&#x4E49;&#x80CC;&#x666F;&#x8272; */</span>
    <span class="hljs-attribute">background</span>: <span class="hljs-built_in">linear-gradient</span>(135deg, #667eea 0%, #764ba2 100%);

    <span class="hljs-comment">/* &#x81EA;&#x5B9A;&#x4E49;&#x5706;&#x89D2; */</span>
    <span class="hljs-attribute">border-radius</span>: <span class="hljs-number">20px</span>;

    <span class="hljs-comment">/* &#x81EA;&#x5B9A;&#x4E49;&#x5B57;&#x4F53; */</span>
    <span class="hljs-attribute">font-family</span>: <span class="hljs-string">&apos;Your Font&apos;</span>, sans-serif;

    <span class="hljs-comment">/* &#x81EA;&#x5B9A;&#x4E49;&#x9634;&#x5F71; */</span>
    <span class="hljs-attribute">box-shadow</span>: <span class="hljs-number">0</span> <span class="hljs-number">4px</span> <span class="hljs-number">15px</span> <span class="hljs-built_in">rgba</span>(102, 126, 234, 0.4);
}

<span class="hljs-comment">/* &#x60AC;&#x505C;&#x6548;&#x679C; */</span>
<span class="hljs-selector-class">.gitbook-plugin-gitcode-issue-feedback</span><span class="hljs-selector-pseudo">:hover</span> {
    <span class="hljs-attribute">transform</span>: <span class="hljs-built_in">translateY</span>(-2px);
    <span class="hljs-attribute">box-shadow</span>: <span class="hljs-number">0</span> <span class="hljs-number">6px</span> <span class="hljs-number">20px</span> <span class="hljs-built_in">rgba</span>(102, 126, 234, 0.6);
}

<span class="hljs-comment">/* &#x52A0;&#x8F7D;&#x72B6;&#x6001; */</span>
<span class="hljs-selector-class">.gitbook-plugin-gitcode-issue-feedback</span><span class="hljs-selector-class">.loading</span> {
    <span class="hljs-attribute">opacity</span>: <span class="hljs-number">0.7</span>;
    <span class="hljs-attribute">cursor</span>: not-allowed;
}

<span class="hljs-comment">/* &#x6210;&#x529F;&#x72B6;&#x6001; */</span>
<span class="hljs-selector-class">.gitbook-plugin-gitcode-issue-feedback</span><span class="hljs-selector-class">.success</span> {
    <span class="hljs-attribute">background</span>: <span class="hljs-built_in">linear-gradient</span>(135deg, #4CAF50 0%, #45a049 100%);
}

<span class="hljs-comment">/* &#x9519;&#x8BEF;&#x72B6;&#x6001; */</span>
<span class="hljs-selector-class">.gitbook-plugin-gitcode-issue-feedback</span><span class="hljs-selector-class">.error</span> {
    <span class="hljs-attribute">background</span>: <span class="hljs-built_in">linear-gradient</span>(135deg, #f44336 0%, #d32f2f 100%);
}
</code></pre>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="features.html" class="navigation navigation-prev " aria-label="Previous page: 功能特性">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="examples.html" class="navigation navigation-next " aria-label="Next page: 使用示例">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"配置选项","level":"1.3","depth":1,"next":{"title":"使用示例","level":"1.4","depth":1,"path":"examples.md","ref":"examples.md","articles":[]},"previous":{"title":"功能特性","level":"1.2","depth":1,"path":"features.md","ref":"features.md","articles":[]},"dir":"ltr"},"config":{"plugins":["gitcode-issue-feedback","livereload"],"styles":{"website":"styles/website.css"},"pluginsConfig":{"gitcode-issue-feedback":{"repo":"nutpi/gitbook-plugin-gitcode-issue-feedback","label":"报告问题","private":false},"livereload":{},"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css","website":"styles/website.css"},"showLevel":false}},"theme":"default","author":"nutpi","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"GitCode Issue Feedback 演示","language":"zh-hans","gitbook":">=3.0.0","description":"一个展示 GitCode Issue Feedback 插件功能的演示项目"},"file":{"path":"configuration.md","mtime":"2025-09-12T00:27:29.559Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2025-09-12T07:01:57.665Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-gitcode-issue-feedback/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-livereload/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

